package dao;

import static org.junit.Assert.*;

import java.sql.SQLException;

import modele.PreinscriptionSession;

import org.junit.Test;

public class TestPreinscriptionSession extends AgriotesDbTestCase{

	@Test
	public void test() throws SQLException {
		PreinscriptionSession instance = new PreinscriptionSession(1,1,"bac+2",java.sql.Date.valueOf("2014-01-02"),1);
		PreinscriptionSessionDAO.inserer(instance);
	PreinscriptionSession result = new PreinscriptionSession();
		
	assertEquals(instance, result);
	
	}

}
